<?php
namespace app\api\controller;
use app\api\model\ShopClerk as ShopClerkModel;

/**
 * 店员控制器
 */
class Clerk extends Controller
{
	
	/**
     * 列表
     */
    public function lists($shop_id)
    {
		$model = new ShopClerkModel;
        if($list = $model->getLists($shop_id)){
			return $this->renderSuccess(compact('list'));
		}
		return $this->renderError('未添加店员，请去商家后端添加');
    }

}
